.PHONY:all
all:tcpserver tcpclient
tcpserver:TcpServerMain.cc
	g++ -o $@ $^ -std=c++14 -lpthread -ljsoncpp
tcpclient:TcpClientMain.cc
	g++ -o $@ $^ -std=c++14 -ljsoncpp

.PHONY:clean
clean:
	rm -f tcpserver tcpclient